package com.qidian.mes.pojo.cal;

import java.util.Date;

/**
 * @Author 04冯虹丹
 * @Company 起点编程
 * @Time 2023/10/25 20:55
 * @Description
 */
public class CalTeam {
    private Long teamId;
    private String teamCode;
    private String teamName;
    private String calendarType;
    private String remark;
    private Integer teamStatus;
    private Date createTime;
    private Date updateTime;

    private Long calTeamCreateTimeMillis;
    private Long calTeamModifyTimeMillis;

    @Override
    public String toString() {
        return "CalTeam{" +
                "teamId=" + teamId +
                ", teamCode='" + teamCode + '\'' +
                ", teamName='" + teamName + '\'' +
                ", calendarType='" + calendarType + '\'' +
                ", remark='" + remark + '\'' +
                ", teamStatus=" + teamStatus +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public String getTeamCode() {
        return teamCode;
    }

    public void setTeamCode(String teamCode) {
        this.teamCode = teamCode;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public String getCalendarType() {
        return calendarType;
    }

    public void setCalendarType(String calendarType) {
        this.calendarType = calendarType;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


    public Integer getTeamStatus() {
        return teamStatus;
    }

    public void setTeamStatus(Integer teamStatus) {
        this.teamStatus = teamStatus;
    }

    public Long getCalTeamCreateTimeMillis() {
        if(this.createTime != null)
            return this.createTime.getTime();
        return null;
    }

    public void setCalTeamCreateTimeMillis(Long calTeamCreateTimeMillis) {
        this.calTeamCreateTimeMillis = calTeamCreateTimeMillis;
    }

    public Long getCalTeamModifyTimeMillis() {
        if(this.updateTime != null)
            return this.updateTime.getTime();
        return null;
    }

    public void setCalTeamModifyTimeMillis(Long calTeamModifyTimeMillis) {
        this.calTeamModifyTimeMillis = calTeamModifyTimeMillis;
    }
}
